package com.ruoyi.cms.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 城市管理对象 c_city
 * 
 * @author Choi
 * @date 2021-08-23
 */
public class CCity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String name;

    /** 城市名称 */
    @Excel(name = "城市英文名称")
    private String nameEn;

    /** 展示屏数量 */
    @Excel(name = "展示屏数量")
    private Integer displayCount;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    private Long userId;
    private String bgimage;
    private Integer bgType;
    private String url;

    /** 展示屏管理信息 */
    private List<CDisplay> cDisplayList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDisplayCount(Integer displayCount) 
    {
        this.displayCount = displayCount;
    }

    public Integer getDisplayCount() 
    {
        return displayCount;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    public List<CDisplay> getCDisplayList()
    {
        return cDisplayList;
    }

    public void setCDisplayList(List<CDisplay> cDisplayList)
    {
        this.cDisplayList = cDisplayList;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }
    public Long getUserId() {
        return userId;
    }

    public void setBgimage(String bgimage) {
        this.bgimage = bgimage;
    }
    public String getBgimage() {
        return bgimage;
    }

    public void setBgType(int bgType) {
        this.bgType = bgType;
    }
    public Integer getBgType() {
        return bgType;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public String getUrl() {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("nameEn", getNameEn())
            .append("displayCount", getDisplayCount())
            .append("sort", getSort())
            .append("bgimage", getBgimage())
            .append("bgType", getBgType())
            .append("url", getUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("cDisplayList", getCDisplayList())
            .toString();
    }
}
